/**
 * 
 */
package sh.t2.share.module.player.form;

import java.util.ArrayList;
import java.util.List;

/**
 * @author YY
 *
 */
public class PlayerTable {
	private int serverId;
	private List<PlayerData> datas = new ArrayList<>();
	
	public static class PlayerData {
		private long playerId;
		private long platformId;
		private long channelId;
		private int serverId;
		private String openId;
		private String nick;
		private int level;
		private int vipLevel;
		private boolean online;
		private long bornTime;
		private long lastLoginTime;
		private long lastLogoutTime;
		private long forbidEndTime;
		private long forbidRankTime;
		private long recharge;
		private String loginIp;
		private String deviceModel;
		
		public long getChannelId() {
			return channelId;
		}
		public void setChannelId(long channelId) {
			this.channelId = channelId;
		}
		public long getPlayerId() {
			return playerId;
		}
		public void setPlayerId(long playerId) {
			this.playerId = playerId;
		}
		public String getOpenId() {
			return openId;
		}
		public void setOpenId(String openId) {
			this.openId = openId;
		}
		public int getServerId() {
			return serverId;
		}
		public void setServerId(int serverId) {
			this.serverId = serverId;
		}
		public String getNick() {
			return nick;
		}
		public void setNick(String nick) {
			this.nick = nick;
		}
		public int getLevel() {
			return level;
		}
		public void setLevel(int level) {
			this.level = level;
		}
		public boolean isOnline() {
			return online;
		}
		public void setOnline(boolean online) {
			this.online = online;
		}
		public long getBornTime() {
			return bornTime;
		}
		public void setBornTime(long bornTime) {
			this.bornTime = bornTime;
		}
		public long getLastLoginTime() {
			return lastLoginTime;
		}
		public void setLastLoginTime(long lastLoginTime) {
			this.lastLoginTime = lastLoginTime;
		}
		public long getRecharge() {
			return recharge;
		}
		public void setRecharge(long recharge) {
			this.recharge = recharge;
		}
		public long getPlatformId() {
			return platformId;
		}
		public void setPlatformId(long platformId) {
			this.platformId = platformId;
		}
		public int getVipLevel() {
			return vipLevel;
		}
		public void setVipLevel(int vipLevel) {
			this.vipLevel = vipLevel;
		}
		public long getLastLogoutTime() {
			return lastLogoutTime;
		}
		public void setLastLogoutTime(long lastLogoutTime) {
			this.lastLogoutTime = lastLogoutTime;
		}
		public long getForbidEndTime() {
			return forbidEndTime;
		}
		public void setForbidEndTime(long forbidEndTime) {
			this.forbidEndTime = forbidEndTime;
		}
		public String getLoginIp() {
			return loginIp;
		}
		public void setLoginIp(String loginIp) {
			this.loginIp = loginIp;
		}
		public String getDeviceModel() {
			return deviceModel;
		}
		public void setDeviceModel(String deviceModel) {
			this.deviceModel = deviceModel;
		}
		public long getForbidRankTime() {
			return forbidRankTime;
		}
		public void setForbidRankTime(long forbidRankTime) {
			this.forbidRankTime = forbidRankTime;
		}
	}

	public List<PlayerData> getDatas() {
		return datas;
	}

	public void setDatas(List<PlayerData> datas) {
		this.datas = datas;
	}

	public int getServerId() {
		return serverId;
	}

	public void setServerId(int serverId) {
		this.serverId = serverId;
	}
}
